package com.shanzmoo.db.store.entity.vo;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 库存实时明细 vo对象
 *
 * @author fs 2021-03-09
 */
@Data
@ApiModel("库存实时明细-vo询对象")
public class StoreStockVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增ID")
    private Integer id;

    @ApiModelProperty(value = "商品sku")
    private String sku;

    @ApiModelProperty(value = "仓库编码")
    private String storeCode;

    @ApiModelProperty(value = "实时库存数量")
    private Integer skuNum;

    @ApiModelProperty(value = "库存预警数量，为0时不做库存预警")
    private Integer alarmNum;

    @ApiModelProperty(value = "创建人")
    private Integer createUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品单位")
    private String goodsUnit;


}
